package gov.ccswj.modules.bdbusiness.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import gov.ccswj.modules.bdbusiness.dao.AWmDao;
import gov.ccswj.modules.bdbusiness.entity.AWmEntity;
import gov.ccswj.modules.bdbusiness.service.AWmService;



@Service("aWmService")
public class AWmServiceImpl implements AWmService {
	@Autowired
	private AWmDao aWmDao;
	
	@Override
	public AWmEntity queryObject(String country){
		return aWmDao.queryObject(country);
	}
	
	@Override
	public List<AWmEntity> queryList(Map<String, Object> map){
		return aWmDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return aWmDao.queryTotal(map);
	}
	
	@Override
	public void save(AWmEntity aWm){
		aWmDao.save(aWm);
	}
	
	@Override
	public void update(AWmEntity aWm){
		aWmDao.update(aWm);
	}
	
	@Override
	public void delete(String country){
		aWmDao.delete(country);
	}
	
	@Override
	public void deleteBatch(String[] countrys){
		aWmDao.deleteBatch(countrys);
	}
	
}
